// 预约相关类型定义
import { ID } from './common';

// 预约信息
export interface ReservationInfo {
  id: ID;
  userId: ID;
  userName: string;
  instrumentId: ID;
  instrumentName: string;
  startTime: string;
  endTime: string;
  duration: number;
  purpose: string;
  status: string;
  approver?: string;
  approvedAt?: string;
  rejectedReason?: string;
  createdAt: string;
  updatedAt: string;
}

// 预约表单
export interface ReservationForm {
  instrumentId: ID;
  startTime: string;
  endTime: string;
  purpose: string;
} 